const config = {
    backPort: "8088",
    frontPort: "8088",
    clientIp: "http://ratjq6.natappfree.cc",
    // 应用信息
    appInfo: {
        // 应用名称
        name: "智电医疗",
        // 应用版本
        version: "1.1.0",
        // 应用logo
        logo: "/static/logo/logo.png"
    }
};

// Set properties based on clientIp after the object definition
//config.baseUrl = `http://${config.clientIp}:${config.backPort}/api`;
// config.baseUrl = `http://127.0.0.1:8088/api`;
config.baseUrl = `http://47.108.128.143:8088/api`;
config.websocketUrl = `ws://${config.clientIp}:${config.backPort}/im/`;

module.exports = config;
